package com.cal.utms.dto.maintenance;


import java.util.List;

public class InstrumentTypeDto {
	
	private int id;
	private int couponAvailability;
	private int cuponFrequency;
	private String dayBasis;
	private byte denominals;
	private String instrumentName;
	private String interestRate;
	private String interestType;
	private byte istrumentType;
	private byte listed;
	private byte scripts;
	private byte shortMaturable;
	private String withholdingTax;
	private byte calculationInput=1;
	
	private boolean success;	
	private List<InstrumentTypeDto> instrumentTypeList;
	private String querry;
	
	
	
	public String getQuerry() {
		return querry;
	}

	public byte getCalculationInput() {
		return calculationInput;
	}

	public void setCalculationInput(byte calculationInput) {
		this.calculationInput = calculationInput;
	}

	public void setQuerry(String querry) {
		this.querry = querry;
	}

	public List<InstrumentTypeDto> getInstrumentTypeList() {
		return instrumentTypeList;
	}

	public void setInstrumentTypeList(List<InstrumentTypeDto> instrumentTypes) {
		this.instrumentTypeList = instrumentTypes;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	//private List<InstrumentTypeBean> instrumentTypeBeans = new ArrayList<InstrumentTypeBean>();

	
	//Getters and Setters
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getCouponAvailability() {
		return couponAvailability;
	}

	public void setCouponAvailability(byte couponAvailability) {
		this.couponAvailability = couponAvailability;
	}

	public int getCuponFrequency() {
		return cuponFrequency;
	}

	public void setCuponFrequency(int cuponFrequency) {
		this.cuponFrequency = cuponFrequency;
	}

	public String getDayBasis() {
		return dayBasis;
	}

	public void setDayBasis(String dayBasis) {
		this.dayBasis = dayBasis;
	}

	public byte getDenominals() {
		return denominals;
	}

	public void setDenominals(byte denominals) {
		this.denominals = denominals;
	}

	public String getInstrumentName() {
		return instrumentName;
	}

	public void setInstrumentName(String instrumentName) {
		this.instrumentName = instrumentName;
	}

	public String getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(String interestRate) {
		this.interestRate = interestRate;
	}

	public String getInterestType() {
		return interestType;
	}

	public void setInterestType(String interestType) {
		this.interestType = interestType;
	}

	public byte getIstrumentType() {
		return istrumentType;
	}

	public byte getShortMaturable() {
		return shortMaturable;
	}

	public void setShortMaturable(byte shortMaturable) {
		this.shortMaturable = shortMaturable;
	}

	public void setCouponAvailability(int couponAvailability) {
		this.couponAvailability = couponAvailability;
	}

	public void setIstrumentType(byte istrumentType) {
		this.istrumentType = istrumentType;
	}

	public byte getListed() {
		return listed;
	}

	public void setListed(byte listed) {
		this.listed = listed;
	}

	public byte getScripts() {
		return scripts;
	}

	public void setScripts(byte scripts) {
		this.scripts = scripts;
	}

	public String getWithholdingTax() {
		return withholdingTax;
	}

	public void setWithholdingTax(String withholdingTax) {
		this.withholdingTax = withholdingTax;
	}

/*	public List<InstrumentTypeBean> getInstrumentTypeBeans() {
		return instrumentTypeBeans;
	}

	public void setInstrumentTypeBeans(List<InstrumentTypeBean> instrumentTypeBeans) {
		this.instrumentTypeBeans = instrumentTypeBeans;
	}*/
	
	@Override
	public String toString() {
		return "instrumentName:"+instrumentName+"; instrumentType:"+istrumentType+"; scripts:"+scripts+"; denominals:"+denominals+"; listed:"+listed+"; WHT:"+withholdingTax+"; interestRate:"+interestRate+"; interestType:"+interestType+"; dayBasis:"+dayBasis+"; couponAvailability:"+couponAvailability+"; cuponFrequency:"+cuponFrequency+"; shortMaturable:"+shortMaturable;

	}
	


}
